home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr05 / lkitwn30.zip / PRINTDOC.BAT < prev    next >
DOS Batch File  |  1995-02-25  |  771b  |  28 lines

  1. @REM PRINTDOC.BAT; JLS 2/95
  2. @echo off
  3. if "%1"=="" goto default
  4. set loc=%1
  5. goto next
  6. :default
  7. set loc=lpt1
  8. :next
  9. cls
  10. ECHO Docs for The Letterhead Kit 3.0 for Windows will now print...
  11. ECHO ...
  12. ECHO The files REGISTER.DOC, LTRWIN30.DOC, and PRODUCTS.DOC will print
  13. ECHO to the printer %loc%.  Press any key to begin.
  14. ECHO .
  15. ECHO If you need to print to any other printer, press Ctrl-C now to stop
  16. ECHO this batch file, and restart PRINTDOC with a device name, like this:
  17. ECHO PRINTDOC LPT2
  18. ECHO or:
  19. ECHO PRINTDOC PRN
  20. ECHO .
  21. ECHO VENDINFO.DIZ contains sysop and vendor information, and may
  22. ECHO be examined with the READ_ME.BAT batch file provided.
  23. ECHO on  
  24. @PAUSE
  25. type register.doc >%loc%
  26. type ltrwin.doc >>%loc%
  27. type products.doc >>%loc%
  28. @PAUSE